package com.group01.community.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.group01.community.entity.ZyVisitor;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 访客邀请  Mapper 接口
 * </p>
 *
 * @author iuoly
 * @since 2022-07-04
 */
public interface ZyVisitorMapper extends BaseMapper<ZyVisitor> {


    /**
     * 访客信息条件+分页查询
     * @param page
     * @param zyVisitor
     * @return
     */
    IPage<ZyVisitor> selectAllByCommunityName(IPage<ZyVisitor> page, ZyVisitor zyVisitor);

    /**
     * 导出查询
     * @return
     */
    List<ZyVisitor> selectZyVisitor();


}
